]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
23 months agost: Fix closure annotations
Florian Müllner [Wed, 6 Nov 2024 13:46:31 +0000 (14:46 +0100)]
st: Fix closure annotations

Quoting Ebassi https://www.bassi.io/articles/2023/02/20/bindable-api-2023/:

    Whenever you’re describing a function that takes a callback, you
    should always annotate the callback argument with the argument that
    contains the user data using the (closure argument) annotation

    You should not annotate the data argument with a unary (closure).

    The unary (closure) is meant to be used when annotating the callback
    type

Recently gobject-introspection became a bit more strict with this and
that generated some warnings:

    Warning: St: invalid "closure" annotation: only valid on callback
    parameters

This commit fix all the closure annotations.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3535>
(cherry picked from commit 411fe9c42f1e4617ddbdd5207998b67abe036806)

23 months agomagnifier: Use the new get_client_content_rect API
Bilal Elmoussaoui [Mon, 21 Oct 2024 10:39:57 +0000 (12:39 +0200)]
magnifier: Use the new get_client_content_rect API

As we have removed is_client_decorated from Mutter in the last release.
Instead of re-adding it and re-exposing SSD/CSD differences and making
gnome-shell deal with that, we created a new API that does exactly what
is_client_decorated was used for, so switch to using that.

Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7984

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3522>
(cherry picked from commit d92f8daf62ab5a9d1c02f82701d74a9f87ae01ee)

23 months agoextensions-app: Add tooltips to icon-only buttons from ExtensionRow
Automeris naranja [Wed, 30 Oct 2024 18:41:32 +0000 (15:41 -0300)]
extensions-app: Add tooltips to icon-only buttons from ExtensionRow

This improves the recognizability of these buttons.

Also, remove the button a11y labels, as Orca
tooltips are also read by Orca.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3529>
(cherry picked from commit 8a80dbec9eb1d7c49fccd0cd0e0131e7ba85d468)

23 months agobuild: Use SPDX identifier for license field
Florian Müllner [Mon, 21 Oct 2024 10:32:33 +0000 (12:32 +0200)]
build: Use SPDX identifier for license field

SPDX has become the established standard for expressing FLOSS
licenses, and is what meson itself strongly recommends for the
license field.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3521>
(cherry picked from commit 86be4e31a66f3ad78306edcc18eae6256db9faa1)

23 months agodocs: Port various parts to gi-docgen annotations
Bilal Elmoussaoui [Mon, 21 Oct 2024 07:55:50 +0000 (09:55 +0200)]
docs: Port various parts to gi-docgen annotations

So they properly show up in the docs.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3518>
(cherry picked from commit 38cca6279c10d4b00b287725d49d98a66da43bae)

23 months agobuild: Stop using appstream-util for metainfo validation
Florian Müllner [Mon, 21 Oct 2024 00:43:24 +0000 (02:43 +0200)]
build: Stop using appstream-util for metainfo validation

Everything, including flathub[0], should be using appstreamcli
now, so stop supporting the old tool as well.

[0] https://docs.flathub.org/blog/improved-build-validation

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3520>
(cherry picked from commit a79d517c1212205fdd3efd7724fc1b6b930be7c6)

23 months agobuild: Do not require appstream-util for metainfo version check
Florian Müllner [Mon, 21 Oct 2024 00:33:33 +0000 (02:33 +0200)]
build: Do not require appstream-util for metainfo version check

appstream-util is deprecated in favor of appstreamcli. The new tool
does not have a `validate-version` command, so implement the check
in directly in the check-version.py script.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3520>
(cherry picked from commit 7405f7c360dad7f50511f3d71a30e16b849dd1cc)

2 years agost/theme-node-drawing: Don't skip square top left inset shadow corners
Sebastian Keller [Mon, 21 Oct 2024 19:53:14 +0000 (21:53 +0200)]
st/theme-node-drawing: Don't skip square top left inset shadow corners

When the inner radius of the top left corner is 0, the corresponding arc
does not get drawn, resulting in a path going from the bottom left
corner to the top right corner when the path is closed.

Fix this by always including a line_to from the bottom left to the top
left corner.

Fixes: dde13b30c ("st/theme-node-drawing: Trace the correct path for inset box shadows")
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7996
2 years agoUpdate Thai translation
Aefgh Threenine [Sat, 2 Nov 2024 08:39:33 +0000 (08:39 +0000)]
Update Thai translation

2 years agoUpdate Serbian translation
Марко Костић [Sat, 2 Nov 2024 05:15:28 +0000 (05:15 +0000)]
Update Serbian translation

2 years agoUpdate Dutch translation
Nathan Follens [Sun, 27 Oct 2024 22:36:07 +0000 (22:36 +0000)]
Update Dutch translation

2 years agoUpdate Friulian translation
Fabio Tomat [Sun, 20 Oct 2024 20:25:16 +0000 (20:25 +0000)]
Update Friulian translation

2 years agoUpdate Thai translation
Aefgh Threenine [Sat, 19 Oct 2024 02:56:59 +0000 (02:56 +0000)]
Update Thai translation

2 years agoBump version to 47.1
Florian Müllner [Fri, 18 Oct 2024 01:28:02 +0000 (03:28 +0200)]
Bump version to 47.1

Update NEWS.

2 years agostyle: Also restore padding for all password entries
Florian Müllner [Fri, 18 Oct 2024 12:36:35 +0000 (14:36 +0200)]
style: Also restore padding for all password entries

Quoting Sam:
  "It is meant to be a general property of password entries
  (same as on .run-dialog-entry) and should be restored harder also."

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3514>

2 years agostyle: Restore password entry width harder
Florian Müllner [Fri, 18 Oct 2024 11:46:07 +0000 (13:46 +0200)]
style: Restore password entry width harder

Commit ee0538807 restored the fixed password entry width, but only
for entries nested under .prompt-dialog-password-layout. That
does not include the network secret dialog, so go back to the
original styling prior to commit 8d065b558e where the width
is set for all password entries, and the mount operation overrides
it with a more specific rule.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3514>

2 years agostyle: Restore password entry width
Florian Müllner [Thu, 17 Oct 2024 17:34:13 +0000 (19:34 +0200)]
style: Restore password entry width

Commit removed the fixed width that is used by polkit/keyring
prompts, with the result that the entries now start at their
natural size, and grow as text is entered.

Restore the original behavior, but nest the style under
.prompt-dialog-password-layout (polkit/keyring) to better
differentiate it from entries under ..prompt-dialog-password-grid
(mount operations).

Fixes: 8d065b558e ("style: Clean up dialogs stylesheet to fix layout issues")
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3511>
(cherry picked from commit ee053880716052b3a75209f3aad989917f65e30a)

2 years agostyle: Saner padding and margins in notification headers
Sam Hewitt [Tue, 24 Sep 2024 15:31:27 +0000 (13:01 -0230)]
style: Saner padding and margins in notification headers

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7920
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3486>
(cherry picked from commit 37e5b31408a0258cecea414ffe5b783690f15f1e)

2 years agobluetooth: When the placeholder is shown, announce it when reaching the toggle
Lukáš Tyrychtr [Tue, 24 Sep 2024 11:44:15 +0000 (13:44 +0200)]
bluetooth: When the placeholder is shown, announce it when reaching the toggle

Previously, the menu would be just empty, without any indication why.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3485>
(cherry picked from commit 3bd68fcfd7a1088e26f8631f27f73e67581413a2)

2 years agostyle: Clean up dialogs stylesheet to fix layout issues
Sam Hewitt [Mon, 16 Sep 2024 14:44:44 +0000 (12:14 -0230)]
style: Clean up dialogs stylesheet to fix layout issues

- remove unnecessary dialog type-specific padding, spacing and margin definitions that led to layout to problems
- bump the size of user avatar in authentication dialog
- nest css classes in the sass to better reflect the structure of dialog elements
- sync style of audio device selector with switcher-popup style
- sync text and padding styles with other elements
- fix incorrect button order in audio selection dialog

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7876
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3473>
(cherry picked from commit 8d065b558e318bc7a8511b87edb3fff0902efbdd)

2 years agost: Use macros to generate type boilerplate
Bilal Elmoussaoui [Wed, 16 Oct 2024 10:32:04 +0000 (12:32 +0200)]
st: Use macros to generate type boilerplate

Also mark certain types as final when they are not meant to be used
externally

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3506>
(cherry picked from commit ad0e2c940b58f7ba9642d8990e830235136d8a4a)

2 years agost/focus-manager: Mark as final type
Bilal Elmoussaoui [Wed, 16 Oct 2024 11:57:48 +0000 (13:57 +0200)]
st/focus-manager: Mark as final type

Nothing can derive this type. Also squeeze in a macro usage for cleanup

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3508>
(cherry picked from commit 31119228a8266153dba0ef4d97b9c90c4f9c3fae)

2 years agost: Remove useless HAVE_CONFIG
Bilal Elmoussaoui [Wed, 16 Oct 2024 11:50:52 +0000 (13:50 +0200)]
st: Remove useless HAVE_CONFIG

That doesn't exists anymore

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3507>
(cherry picked from commit 7aee2ca85492d591d286f2072be764cfd5cdba7b)

2 years agoPrefer using pragma once
Bilal Elmoussaoui [Wed, 16 Oct 2024 11:17:21 +0000 (13:17 +0200)]
Prefer using pragma once

Similar to what we did in mutter

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3507>
(cherry picked from commit 5cbd847c842da04cf0dc82106f084c09f1c4e350)

2 years agoUse NULL for nick/blurb in GObject params
Bilal Elmoussaoui [Wed, 16 Oct 2024 09:51:23 +0000 (11:51 +0200)]
Use NULL for nick/blurb in GObject params

As they are only used by gstreamer for gst-inspect & other tools.
Projects like Mutter/gtk have completely dropped them as well, so follow
their path

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3505>
(cherry picked from commit aa0f2c4915d29e9f070a6ce99d0a05625ddfd6e1)

2 years agoci: Use `project` include type where possible
Florian Müllner [Tue, 15 Oct 2024 15:18:35 +0000 (17:18 +0200)]
ci: Use `project` include type where possible

No need to pull in templates from the same gitlab instance via
http.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3504>
(cherry picked from commit 33e1d428204f13312f01d57d4da63b7f4a66dea4)

2 years agostatus/keyboard: Always released held keyboard after activating source
Florian Müllner [Fri, 11 Oct 2024 12:30:44 +0000 (14:30 +0200)]
status/keyboard: Always released held keyboard after activating source

As the keyboard is released asynchronously after setting the ibus
engine, there's a possibility that the `this._reloading` property
changed in the meantime.

To ensure that `holdKeyboard()` and `releaseKeyboard()` are correctly
paired, record the condition in a local variable so that it maintains
its value in the callback.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3476>
(cherry picked from commit fb58ceb4c5cf1ce60666229df25f4bbdb4934789)

2 years agostatus/keyboard: Fix execution order when activating source
Florian Müllner [Thu, 19 Sep 2024 22:33:29 +0000 (00:33 +0200)]
status/keyboard: Fix execution order when activating source

When commit ce89b15bb123d made the code async, it did not only
delay releasing the keyboard until after the engine has been
updated, but also the following code that updates the current
input source.

One result is that the current source is now initialized later,
which breaks any code that relies on the source being set.

This affects the login screen in particular (which uses different
`InputSourceSettings` than the regular session): It fails to come
up entirely if the OSK is enabled.

To fix the issue, use a .then() callback to release the keyboard,
instead of blocking all following code with await.

Fixes: ce89b15bb1 ("ibusManager: Use async await instead of callbacks")
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7912
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3476>
(cherry picked from commit 0a3c12f8d6c21906ae5c2b0677501a2897abdd83)

2 years agoslider: Consider text direction when handling arrow keys
Sundeep Mediratta [Wed, 9 Oct 2024 17:17:30 +0000 (13:17 -0400)]
slider: Consider text direction when handling arrow keys

Currently the right arrow key always increases the slider value,
even in RTL locales where the slider itself increases leftwards.

Fix that, so that the arrow keys always correspond to the
direction of the slider.

Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7963

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3500>
(cherry picked from commit 5309f747fad23ebc707870868016f0414776e59c)

2 years agoIgnore meson-wrap subprojects
Florian Müllner [Wed, 9 Oct 2024 02:01:02 +0000 (04:01 +0200)]
Ignore meson-wrap subprojects

Both gvc and jasmine-gjs use a subproject wrap, so we never want to
check in the checked out sources.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3499>
(cherry picked from commit ab46e89171776e45ec42d98249643389764e0d02)

2 years agoextensionSystem: Catch and log session update errors
Marco Trevisan (Treviño) [Thu, 3 Oct 2024 15:00:20 +0000 (17:00 +0200)]
extensionSystem: Catch and log session update errors

If sessionUpdated() fails we get a js failure but not information about
where the actual problem was, so catch for error properly.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3495>
(cherry picked from commit 368a685717bb5ae0f7b07e5ff9a80edf7b3a9fa7)

2 years agoextensions-tool: Remove reference to compiled schemas
Florian Müllner [Sat, 28 Sep 2024 19:59:19 +0000 (21:59 +0200)]
extensions-tool: Remove reference to compiled schemas

Since GNOME 44, schemas are compiled at install time, and the tool
stopped including compiled schemas in GNOME 46.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3490>
(cherry picked from commit 35f60565047451a3e4165d921c11da326e157d83)

2 years agopopupSwitchMenuItem: Emit correct switch state with toggled signal
Andrew Zaech [Sun, 29 Sep 2024 22:43:15 +0000 (22:43 +0000)]
popupSwitchMenuItem: Emit correct switch state with toggled signal

The toggled signal was incorrectly emitting the pspec instead of the switch state.

Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7943

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3493>
(cherry picked from commit 7fe05f6bc9854f46f17c6db42ab9e9c3e9b4810c)

2 years agost/theme-node-drawing: Trace the correct path for inset box shadows
Daniel van Vugt [Thu, 26 Sep 2024 10:26:21 +0000 (18:26 +0800)]
st/theme-node-drawing: Trace the correct path for inset box shadows

Previously we just copied the outer path and scaled it down, but that
resulted in an inconsistent thickness at the corners because the pivot
points for the arcs also moved inward.

So now we trace the inset path explicitly to maintain the correct
thickness (spread) around all the corners.

The spec actually mentions you need to do it in section 6.1 [1]:

> Note that for inner shadows, expanding the shadow (creating more
> shadow area) means contracting the shadow’s perimeter shape.

Despite the fact the example diagram gets it wrong in section 6.1.1 [2],
it does then follow with more confirmation that the shadow radius should
be reduced:

> To preserve the box’s shape when spread is applied, the corner radii
> of the shadow are also increased (decreased, for inner shadows) from
> the border-box (padding-box) radii by adding (subtracting) the spread
> distance (and flooring at zero).

[1] https://www.w3.org/TR/css-backgrounds-3/#box-shadow
[2] https://www.w3.org/TR/css-backgrounds-3/#shadow-shape

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7913
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3488>
(cherry picked from commit dde13b30c79776accf1b54fcd131441f44fc8f95)

2 years agoquick-toggle: Make the subtitle the a11y description of the toggle
Lukáš Tyrychtr [Tue, 24 Sep 2024 10:08:47 +0000 (12:08 +0200)]
quick-toggle: Make the subtitle the a11y description of the toggle

By doing that, more info is read by default, like the
connected bluetooth device and likely more.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3484>
(cherry picked from commit 9fc53967428f39758b59740ae4aa558e11234f35)

2 years agopadOsd: Don't hardcode blue color
Alice Mikhaylenko [Mon, 23 Sep 2024 00:42:40 +0000 (04:42 +0400)]
padOsd: Don't hardcode blue color

Missed this one, since it's not set from CSS.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3480>
(cherry picked from commit 8887c675037caeb33bab5995454561639c86a895)

2 years agoquick-slider: Do not allow focusing the icon when it's not reactive
Lukáš Tyrychtr [Mon, 23 Sep 2024 08:47:49 +0000 (10:47 +0200)]
quick-slider: Do not allow focusing the icon when it's not reactive

This hides a disabled unlabeled button from the focus order in the display
brightness status indicator, and may be others.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3481>
(cherry picked from commit 25a2a0156e3d6279f57ff4ea0493433b679ea35b)

2 years agoci: Adjust to dnf5 plugin changes
Florian Müllner [Fri, 20 Sep 2024 19:18:37 +0000 (21:18 +0200)]
ci: Adjust to dnf5 plugin changes

F41 includes dnf5, which involves changes to the config-manager
plugin.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3479>

2 years agoci: Bump mutter image
Florian Müllner [Fri, 20 Sep 2024 18:07:06 +0000 (20:07 +0200)]
ci: Bump mutter image

The image was rebased to F41, pick that up.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3478>

2 years agoquick-slider: Label the menu opening button
Lukáš Tyrychtr [Fri, 20 Sep 2024 13:30:40 +0000 (15:30 +0200)]
quick-slider: Label the menu opening button

One less unlabeled button, that's good.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3477>

2 years agoUpdate Spanish translation
Daniel Mustieles [Wed, 18 Sep 2024 07:27:17 +0000 (07:27 +0000)]
Update Spanish translation

2 years agoUpdate Thai translation
Aefgh Threenine [Tue, 17 Sep 2024 18:40:32 +0000 (18:40 +0000)]
Update Thai translation

2 years agoUpdate Thai translation
Aefgh Threenine [Mon, 16 Sep 2024 15:10:27 +0000 (15:10 +0000)]
Update Thai translation

2 years agoBump version to 47.0
Florian Müllner [Sat, 14 Sep 2024 15:11:01 +0000 (17:11 +0200)]
Bump version to 47.0

Update NEWS.

2 years agoUpdate Thai translation
Aefgh Threenine [Thu, 12 Sep 2024 09:12:23 +0000 (09:12 +0000)]
Update Thai translation

2 years agogdm: Actually wait for pending messages being notified on failures
Marco Trevisan (Treviño) [Tue, 10 Sep 2024 22:22:57 +0000 (00:22 +0200)]
gdm: Actually wait for pending messages being notified on failures

We had code to ensure that all the queued messages sent by a PAM module
were shown by waiting some time to give the user time to read them, but
due to a typo this code never executed.

Fixes commit dd97a2589b8b686f273550f3e9e6ce370b25c10d

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3466>

2 years agoci: Restrict use of "Fixes #123"
Florian Müllner [Tue, 10 Sep 2024 14:53:42 +0000 (16:53 +0200)]
ci: Restrict use of "Fixes #123"

Our convention is to use "Fixes" lines for references commits
(like belated "fixups") and use "closes" for issues.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3465>

2 years agoci: Extend "closes" rule
Florian Müllner [Tue, 10 Sep 2024 14:12:23 +0000 (16:12 +0200)]
ci: Extend "closes" rule

Gitlab also recognizes variants like "close #123" or "Closed #123".

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3465>

2 years agoci: Deny a plain "Closes: #123" message in the commit message
Peter Hutterer [Mon, 9 Sep 2024 01:07:08 +0000 (11:07 +1000)]
ci: Deny a plain "Closes: #123" message in the commit message

We need the full link so let's warn contributors about this instead of
having reviewers pointing this out.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3465>

2 years agoUpdate Hungarian translation
Balázs Úr [Tue, 10 Sep 2024 20:57:58 +0000 (20:57 +0000)]
Update Hungarian translation

2 years agoUpdate Latvian translation
Rūdolfs Mazurs [Tue, 10 Sep 2024 19:31:44 +0000 (19:31 +0000)]
Update Latvian translation

2 years agoUpdate Danish translation
Ask Hjorth Larsen [Sun, 8 Sep 2024 17:01:00 +0000 (17:01 +0000)]
Update Danish translation

2 years agoUpdate British English translation
Andi Chandler [Sun, 8 Sep 2024 12:25:38 +0000 (12:25 +0000)]
Update British English translation

2 years agoUpdate Swedish translation
Anders Jonsson [Fri, 6 Sep 2024 21:07:58 +0000 (21:07 +0000)]
Update Swedish translation

2 years agolocatePointer: Mark the animation as required
Alessandro Bono [Fri, 20 Oct 2023 20:00:59 +0000 (22:00 +0200)]
locatePointer: Mark the animation as required

When the accessibility option "Reduce Animation" is turned on, the
accessibility option "Locate Pointer" stops to work. This is because
the animation is not marked as required. Mark it as such.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7472
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2986>

2 years agoripples: Allow to specify whether the ripple is required
Alessandro Bono [Fri, 20 Oct 2023 20:00:55 +0000 (22:00 +0200)]
ripples: Allow to specify whether the ripple is required

The ripples are used both for the "Hot Corner" animation and for the
"Locate Pointer" animation. The latter one is an accessibility feature
and should always work, even when animations are disabled. Take this
into account.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2986>

2 years agoenvironment: Allow marking animations as required
Alessandro Bono [Fri, 20 Oct 2023 20:00:47 +0000 (22:00 +0200)]
environment: Allow marking animations as required

There are cases when we want to mark an animation as required. For
example, we want the "Locate Pointer" animation to work even when
the animation as marked as disabled. Take this into account when
easing an actor.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2986>

2 years agoanimationUtils: Allow marking animations as required
Alessandro Bono [Fri, 20 Oct 2023 20:00:40 +0000 (22:00 +0200)]
animationUtils: Allow marking animations as required

There are cases when we want to mark an animation as required. For
example, we want the "Locate Pointer" animation to work even when
the animation is marked as disabled. Take this into account when
adjusting the animation time.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2986>

2 years agoenvironment: Adjust optional delay parameter
Alessandro Bono [Fri, 6 Sep 2024 08:47:25 +0000 (10:47 +0200)]
environment: Adjust optional delay parameter

All timing parameters should take the `slow-down-factor` and
`enable-animations` settings into account, but the delay parameter
of property/adjustment animations was forgotten.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2986>

2 years agoenvironment: Make more explicit what are the default values
Alessandro Bono [Thu, 5 Sep 2024 12:41:30 +0000 (14:41 +0200)]
environment: Make more explicit what are the default values

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2986>

2 years agoci: Limit sysext-build jobs to x86_64_v3 runners
Martin Abente Lahaye [Fri, 6 Sep 2024 12:05:49 +0000 (08:05 -0400)]
ci: Limit sysext-build jobs to x86_64_v3 runners

We have recently bumped GNOME OS baseline to x86_64_v3 and
this caused issues with x86_64_v2 runners.

See https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/1665

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3464>

2 years agoibusManager: Simplify code and logic for setEngine()
Sundeep Mediratta [Sun, 4 Aug 2024 17:24:17 +0000 (13:24 -0400)]
ibusManager: Simplify code and logic for setEngine()

Reword names, functions and refactor code to make code execution logic
simpler to understand.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3439>

2 years agokeyboard: Replace `oskCompletion` setter with public method
Sundeep Mediratta [Thu, 15 Aug 2024 20:18:39 +0000 (16:18 -0400)]
keyboard: Replace `oskCompletion` setter with public method

The underlying value only changes asynchronously, which makes a
setter a bit awkward, so replace it with a public async function.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3439>

2 years agoibusManager: Change return value of `setCompletionEnabled()`
Sundeep Mediratta [Sun, 4 Aug 2024 17:33:47 +0000 (13:33 -0400)]
ibusManager: Change return value of `setCompletionEnabled()`

The return value currently indicates whether the request was
successful, namely `setCompletionEnabled(false)` will return
`true` if completions were successfully disabled.

However the only caller that uses the value uses it to indicate
whether completions were enabled.

Given that nothing else uses the value, change the meaning to
match the caller, and indicate whether completions are enabled
after the call returns.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3439>

2 years agoibusManager: Use async await instead of callbacks
Sundeep Mediratta [Thu, 1 Aug 2024 23:18:33 +0000 (19:18 -0400)]
ibusManager: Use async await instead of callbacks

Code that uses async/await is often easier to follow than callbacks, in
particular as part of the code is already async.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3439>

2 years agometainfo: Add URL to contribute
Balló György [Thu, 20 Jun 2024 13:53:28 +0000 (15:53 +0200)]
metainfo: Add URL to contribute

See: https://gitlab.gnome.org/GNOME/Initiatives/-/issues/51

# Conflicts:
# subprojects/extensions-app/data/metainfo/org.gnome.Extensions.metainfo.xml.in

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3374>

2 years agoUpdate Galician translation
Fran Dieguez [Mon, 2 Sep 2024 21:25:44 +0000 (21:25 +0000)]
Update Galician translation

2 years agostatus/network: Add user permissions to new wifi connections
Thore Sommer [Mon, 2 Sep 2024 08:39:46 +0000 (10:39 +0200)]
status/network: Add user permissions to new wifi connections

When creating a new NM connection they are by default system connections. A
user cannot create them if they don't have the correct polkit permissions
(org.freedesktop.NetworkManager.settings.modify.system).

If a user tried to add a new connection in the drop down menu, then they got
no password prompt and NM logged the following:
[...] audit: op="connection-add-activate" pid=1872 uid=1000 result="fail" \
reason="Insufficient privileges"

This change adds the current user to the user permissions for the new
connection, if the user has no permissions to modify the system connections,
which copies the behavior of GNOME Settings.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3462>

2 years agoUpdate Lithuanian translation
Aurimas Černius [Mon, 2 Sep 2024 19:39:47 +0000 (19:39 +0000)]
Update Lithuanian translation

2 years agoauthPrompt: Allow to set a custom ShellUserVerifer
Alessandro Bono [Mon, 19 Aug 2024 08:42:08 +0000 (10:42 +0200)]
authPrompt: Allow to set a custom ShellUserVerifer

Move ShellUserVerifier creation to its own function so that
extensions can easily override it.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7828
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3446>

2 years agoUpdate Spanish translation
Daniel Mustieles [Mon, 2 Sep 2024 09:43:14 +0000 (09:43 +0000)]
Update Spanish translation

2 years agoUpdate Bulgarian translation
Alexander Shopov [Mon, 2 Sep 2024 08:35:57 +0000 (08:35 +0000)]
Update Bulgarian translation

2 years agoUpdate Bulgarian translation
twlvnn kraftwerk [Mon, 2 Sep 2024 08:27:27 +0000 (08:27 +0000)]
Update Bulgarian translation

(cherry picked from commit 4b3bc8f1cc21f04137419ef972c201354dcd3273)

2 years agoUpdate French translation
Irénée THIRION [Mon, 2 Sep 2024 07:17:13 +0000 (07:17 +0000)]
Update French translation

2 years agoUpdate Thai translation
Aefgh Threenine [Mon, 2 Sep 2024 06:38:47 +0000 (06:38 +0000)]
Update Thai translation

2 years agoBump version to 47.rc
Florian Müllner [Sat, 31 Aug 2024 15:30:50 +0000 (17:30 +0200)]
Bump version to 47.rc

Update NEWS.

2 years agoUpdate Turkish translation
Sabri Ünal [Sun, 1 Sep 2024 11:08:07 +0000 (11:08 +0000)]
Update Turkish translation

2 years agoUpdate Kazakh translation
Baurzhan Muftakhidinov [Sun, 1 Sep 2024 08:20:10 +0000 (08:20 +0000)]
Update Kazakh translation

2 years agoUpdate Indonesian translation
Andika Triwidada [Sun, 1 Sep 2024 08:15:27 +0000 (08:15 +0000)]
Update Indonesian translation

2 years agoUpdate Polish translation
Piotr Drąg [Sat, 31 Aug 2024 13:37:33 +0000 (13:37 +0000)]
Update Polish translation

2 years agoci: Bump mutter image
Florian Müllner [Thu, 29 Aug 2024 14:35:23 +0000 (16:35 +0200)]
ci: Bump mutter image

Mutter bumped its pipewire requirement, pull it in.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3459>

2 years agoRevert "ci: Include docutils in sysext image"
Florian Müllner [Thu, 29 Aug 2024 14:32:51 +0000 (16:32 +0200)]
Revert "ci: Include docutils in sysext image"

gnome-build-meta has been updated to pull in rst2man for
gnome-shell.

This reverts commit ef0341edacda2d915c14973afdeae77c647cb8c8.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3459>

2 years agoibus-candidate-popup: Scale coordinates from IBus
Jonas Ådahl [Thu, 29 Aug 2024 13:26:39 +0000 (15:26 +0200)]
ibus-candidate-popup: Scale coordinates from IBus

The coordinates are effectively in the windowing system coordinate
space, which when scaling Xwayland, we need to scale these. Do this with
the Meta.Window.protocol_to_stage() function on the focused window,
which handles it correctly for the corresponding windowing system and
configuration.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3458>

2 years agoUpdate Portuguese translation
Hugo Carvalho [Fri, 30 Aug 2024 10:14:28 +0000 (10:14 +0000)]
Update Portuguese translation

2 years agoUpdate Korean translation
Changwoo Ryu [Thu, 29 Aug 2024 23:33:05 +0000 (23:33 +0000)]
Update Korean translation

2 years agotest/theme: Get ClutterSettings from the ClutterStage
Bilal Elmoussaoui [Fri, 23 Aug 2024 14:31:55 +0000 (16:31 +0200)]
test/theme: Get ClutterSettings from the ClutterStage

As the global getter is now gone

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3452>

2 years agoquick-settings: Handle interrupted menu animations
Dylan McCall [Fri, 9 Sep 2022 18:34:07 +0000 (11:34 -0700)]
quick-settings: Handle interrupted menu animations

If the menu is closed while it is being opened, we should skip the next
animation in the chain. Similarly, if a menu is opened while it is being
closed, we should continue the animation from the previous state instead
of resetting height to 0.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5843
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2481>

2 years agocleanup: Remove gnome-shell-extension-prefs wrapper
Florian Müllner [Wed, 28 Aug 2024 14:44:42 +0000 (16:44 +0200)]
cleanup: Remove gnome-shell-extension-prefs wrapper

After the old tool transformed into the extensions app, we added
a wrapper for compatibility with extensions that spawned the
command to open their preferences.

This was a long time ago.

As the ESM port happened since, we *know* that all extensions
are newer than that change. And as spawning the old prefs tool
is no longer accepted in review, no extension that is compatible
with current shell versions still does it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3456>

2 years agoUpdate Belarusian translation
Vasil Pupkin [Wed, 28 Aug 2024 21:32:45 +0000 (21:32 +0000)]
Update Belarusian translation

2 years agoman: Use .rst suffix for sources
Florian Müllner [Wed, 28 Aug 2024 11:26:27 +0000 (13:26 +0200)]
man: Use .rst suffix for sources

It's more common to use the dedicated .rst suffix for reStructuredText
files, so now that the files were ported,
use that.

(Renaming the files separately from changing it is less likely
to confuse git, thus the separate commit)

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3454>

2 years agoman: Port the man pages to reStructuredText
Florian Müllner [Wed, 28 Aug 2024 10:52:05 +0000 (12:52 +0200)]
man: Port the man pages to reStructuredText

It's as human-readable as asciidoc and produces the same results,
but the tooling is more widely supported. Also both GLib and GTK
switched to it for their man pages, so rst2man is already a
dependency of the platform.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3454>

2 years agobuild: Stop pre-generating man pages
Florian Müllner [Wed, 28 Aug 2024 10:55:13 +0000 (12:55 +0200)]
build: Stop pre-generating man pages

The original asciidoc project is still stuck on python2, so on
distros that didn't switch to a fork (like Fedora), it pulls
in over 100M of legacy dependencies.

However we are about to move our man pages to reStructuredText
which doesn't have that issue, and which is already used for
GLib's and GTK's man pages.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3454>

2 years agoci: Include docutils in sysext image
Florian Müllner [Wed, 28 Aug 2024 13:30:50 +0000 (15:30 +0200)]
ci: Include docutils in sysext image

We need rst2man to switch from asciidoc to reStructuredText for
man pages. Pull it in ourselves until the change lands and
gnome-build-meta is updated.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3454>

2 years agotests/dbus-runner: Pass along **kargs in setUpClass()
Jonas Ådahl [Wed, 28 Aug 2024 13:56:27 +0000 (15:56 +0200)]
tests/dbus-runner: Pass along **kargs in setUpClass()

This means gnomeshell_dbusrunner.py only need to bother with arguments
it needs to care about, which currently are none.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3455>

2 years agoUpdate Belarusian translation
Vasil Pupkin [Tue, 27 Aug 2024 19:58:00 +0000 (19:58 +0000)]
Update Belarusian translation

2 years agodash: Show move cursor on app icon dnd to dash
Daniel Sheeler [Sat, 24 Aug 2024 16:01:20 +0000 (11:01 -0500)]
dash: Show move cursor on app icon dnd to dash

Previously, the 'copy' drag and drop cursor was displayed when dragging
an application icon to the dash (which adds the app to favorites),
but the operation is really a move, so ensure the 'move'
dnd cursor is used.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7819
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3453>

2 years agoci: Update gjs-ci-tools
Florian Müllner [Mon, 19 Aug 2024 18:30:46 +0000 (20:30 +0200)]
ci: Update gjs-ci-tools

The repository moved to a new namespace, so make sure we pick
up the change the next time we rebuild the JS image.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3449>

2 years agoUpdate Occitan translation
Quentin PAGÈS [Mon, 26 Aug 2024 18:34:15 +0000 (18:34 +0000)]
Update Occitan translation

2 years agoUpdate Persian translation
Danial Behzadi [Mon, 26 Aug 2024 08:40:59 +0000 (08:40 +0000)]
Update Persian translation

2 years agoUpdate Czech translation
Daniel Rusek [Sun, 25 Aug 2024 13:04:37 +0000 (13:04 +0000)]
Update Czech translation